package net.muchine.core.dao;

public interface GenericDao<T, K> {
	public long countAll();
	
	public int create(T entity);
	
	public int update(T entity);
	
	public int delete(K key);
	
	public T find(K key);
}
